<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@ taglib prefix="aa" uri="http://ajaxanywhere.sourceforge.net/"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Transitional//EN" "http://www.w3.org/TR/htmL1/DTD/xhtml1-transitional.dtd">

<!--
/***********************************************
* 파일명   	: ajax_list_my_vacation.jsp
* 기  능      	: 휴가관리/휴가 조회
* 최초 작성일 	: 2009/01/21
* @author 	: Yang D
*************************************************
-->
<html>
<head></head>
<body>
    <!----------Tbl_info & Table box ------>
	    <div id="tbl_info_box02">
	    	<ul> 성명이 <font color="#000080"><b>진한파란색</b></font>으로 표시되면 휴가배정이 확정 되지 않은 사원입니다.</ul>
			<span class="fl_ri">
				<ul><li class="txt"><b>조회 건수 :</b> <s:property value="rowCount"/> 건</li></ul>
			</span>
		</div>
		<table class="product_tbl">
			<tr>
				<td class="th_header" rowspan="2">그룹</td>
				<td class="th_header" rowspan="2">팀</td>
				<td class="th_header" rowspan="2">성명</td>
				
				
				<td class="th_header" rowspan="2">입사일</td>
				<td class="th_header" rowspan="2">재직<br/>여부</td>
				<td class="th_header" colspan="2" >휴가배정</td>

				<td class="th_header" colspan="3" >연차휴가</td>
				<td class="th_header" colspan="3">특별휴가</td>
				<td class="th_header" colspan="3">연차/특별휴가 합계</td>
				
				<td class="th_header" rowspan="2">경조<br/>휴가</td>
				<td class="th_header" rowspan="2">공가</td>
				<td class="th_header" rowspan="2">기타<br/>휴가</td>
				
				<td class="th_header" rowspan="2" style="color: #0000FF;">전체휴가<br />사용일수</td>
			</tr>
			<tr>
				<td class="th_header" >시작일</td>
				<td class="th_header" >종료일</td>
				
				<!--td class="th_header" style="font-weight: bold;color: #0000FF;">배정<br />일수</td-->
				<td class="th_header" style="color: #0000FF;">배정<br />일수</td>
				<td class="th_header" >사용<br />일수</td>
				<td class="th_header" style="color: red;">잔여<br />일수</td>
				<td class="th_header" style="color: #0000FF;">배정<br />일수</td>
				<td class="th_header" >사용<br />일수</td>
				<td class="th_header" style="color: red;">잔여<br />일수</td>
				<td class="th_header" style="color: #0000FF;">배정<br />일수</td>
				<td class="th_header" >사용<br />일수</td>
				<td class="th_header" style="color: red;">잔여<br />일수</td>
			</tr>
     <s:iterator value="listVacationZ" status="row" >
		<s:iterator>
			<!--tr onmouseover="this.style.backgroundColor='#9FEAFF'" onmouseout="this.style.backgroundColor='#FFFFFF'"-->
			<tr>
				<td><s:property value="group_nm"/></td>
				<td><s:property value="team_nm"	/></td>
				<td>
					<s:if test='batch_finish_yn == "N"'>
					<font color="#000080">
						<b><s:property value="emp_nm"	/></b>
					</font>
					</s:if>
					<s:else>
						<s:property value="emp_nm"	/>
					</s:else>
				</td>
				<td><s:property value="apply_dt"	/></td>
				<td><s:property value="work_yn"	/></td>
				<td><s:property value="start_dt"	/></td>
				<td><s:property value="end_dt"	/></td>
				
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_assign_pop('<s:property value="emp_no"	/>', '2001')" >
					<font color="blue">
						<s:property value="an_sum_total"	/>
					</font>
					</a>
				</td>
				<td style="color: #0000FF;">
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','2001')" >
						<s:property value="an_use_sum"	/>
					</a>
				</td>
				<td>
					<font color="red">
						<s:property value="an_rest_sum"	/></td>
					</font>
				
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_assign_pop('<s:property value="emp_no"	/>', '2002')" >
					<font color="blue">
						<s:property value="sp_sum_total"/>
					</font>
					</a>
				</td>
				<td style="color: #0000FF;">
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','2002')" >
						<s:property value="sp_use_sum"/>
					</a>
				</td>
				<td>
					<font color="red">
						<s:property value="sp_rest_sum"/></td>
					</font>				
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_assign_pop('<s:property value="emp_no"	/>', '9999')" >
					<font color="blue">
						<s:property value="an_sp_sum_total"	/>
					</font>
					</a>
				</td>
				<td style="color: #0000FF;">
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','9999')" >
						<s:property value="an_sp_use_sum"	/>
					</a>
				</td>
				<td>
					<font color="red">
						<s:property value="an_sp_rest_sum"	/></td>
						<!-- <td><s:property value="bcd0"	/></td> -->
					</font>
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','2003')" >
						<s:property value="bc_use_sum"	/>
					</a>
				</td>
				<!-- <td><s:property value="bcd2"	/></td> -->
				<!-- <td><s:property value="pb0"		/></td> -->
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','2004')" >
						<s:property value="pb_use_sum"		/>
					</a>
				</td>
				<td>
					<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','2005')" >
						<s:property value="etc_use_sum"	/>
					</a>
				</td>
				
				<td style="color: blue;">
				<a onmouseover="this.style.cursor='pointer'" onclick="return fnc_vacalist_pop('<s:property value="emp_no"	/>','0000')" >
					<font color="blue">
						<s:property value="use_total"	/>
					</font>
				</a>
				</td>
			</tr>
		</s:iterator>
    </s:iterator>
		</table>
		<br/>
    
		<input type="hidden"  name="group_no" ></input>
	<!----------Tbl_info & Table box ------>
		    
	<!-- 페이징 Start -->
		<div class="pagination">
		    <s:property value="pDao.html" escape="false"/>
		</div>  
    <!-- // 페이징 End -->
</body>
<script src="inc/js/ajaxCommon.js"></script>
</html>